/*
 *  logger4cpp - Simple C++ Logger
 *
 *  Copyright (C) 2011 CodeFutures Corporation. All rights reserved.
 */

#ifndef LOGGERFACTORY_H_
#define LOGGERFACTORY_H_

#include <stdio.h>
#include <string.h>
#include <string>
#include <iostream>
#include <fstream>
#include <map>

#include <logger/Logger.h>

namespace logger4cpp {

class LoggerFactory {
private:

	static std::map<string,Logger*> loggerMap;

	static bool isConfigured;

	static void configure();

public:
	LoggerFactory();
	virtual ~LoggerFactory();

	static Logger* getLogger(string name);
};

} // namespace

#endif /* LOGGERFACTORY_H_ */
